package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.CommounityCharge;

/**
 * chargeMapper接口
 *
 * @author wanglong
 * @date 2024-03-24
 */
public interface CommounityChargeMapper
{
    /**
     * 查询charge
     *
     * @param chargeId charge主键
     * @return charge
     */
    public CommounityCharge selectCommounityChargeByChargeId(Long chargeId);

    /**
     * 查询charge列表
     *
     * @param commounityCharge charge
     * @return charge集合
     */
    public List<CommounityCharge> selectCommounityChargeList(CommounityCharge commounityCharge);

    /**
     * 新增charge
     *
     * @param commounityCharge charge
     * @return 结果
     */
    public int insertCommounityCharge(CommounityCharge commounityCharge);

    /**
     * 修改charge
     *
     * @param commounityCharge charge
     * @return 结果
     */
    public int updateCommounityCharge(CommounityCharge commounityCharge);

    /**
     * 删除charge
     *
     * @param chargeId charge主键
     * @return 结果
     */
    public int deleteCommounityChargeByChargeId(Long chargeId);

    /**
     * 批量删除charge
     *
     * @param chargeIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCommounityChargeByChargeIds(Long[] chargeIds);

}
